package com.share.wechat.page.help;

import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;

/**
 * 分页的工具类
 */
public class PageUtil extends PageRequest {
    public PageUtil(int page, int size) {
        super(page, size);
    }

    public PageUtil(int page, int size, Sort.Direction direction, String... properties) {
        super(page, size, direction, properties);
    }

    public PageUtil(int page, int size, Sort sort) {
        super(page, size, sort);
    }
}
